<%@ Page Language="C#" MasterPageFile="~/Board.Master" AutoEventWireup="true" CodeBehind="Read.aspx.cs" Inherits="UserInterface.PM.Read" %>
<%@ Register TagPrefix="pm" TagName="Menu" Src="~/PM/Menu.ascx" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder" runat="server">
    <pm:Menu ID="Menu" runat="server" />
    
    <div id="private-messages-content">
        <div id="options">
            <asp:Button ID="MarkReadButton" Text="<%$ Resources: MarkRead %>" OnClick="MarkReadButton_Click" runat="server" />
            <asp:Button ID="MarkUnreadButton" Text="<%$ Resources: MarkUnread %>" OnClick="MarkUnreadButton_Click" runat="server" />
            <asp:Button ID="ArchiveButton" Text="<%$ Resources: Archive %>" OnClick="ArchiveButton_Click" runat="server" />
            <asp:Button ID="DeleteButton" Text="<%$ Resources: Delete %>" OnClick="DeleteButton_Click" runat="server" />
        </div>
        
        <div id="private-message">
            <table class="detail-table">
                <tr id="from">
                    <th class="default-column"><%= GetLocalResourceObject("From") %></th>
                    <td class="alternate-column"><a href="/ViewUser.aspx?userId=<%=SenderId%>"><asp:Literal ID="FromLiteral" runat="server" /></a></td>
                </tr>
                <tr id="to">
                    <th class="default-column"><%= GetLocalResourceObject("To") %></th>
                    <td class="alternate-column"><a href="/ViewUser.aspx?userId=<%=ReceiverId%>"><asp:Literal ID="ToLiteral" runat="server" /></a></td>
                </tr>
                <tr id="subject">
                    <th class="default-column"><%= GetLocalResourceObject("Subject") %></th>
                    <td class="alternate-column"><asp:Literal ID="SubjectLiteral" runat="server" /></td>
                </tr>
                <tr id="date-sent">
                    <th class="default-column"><%= GetLocalResourceObject("DateSent") %></th>
                    <td class="alternate-column"><asp:Literal ID="DateSentLiteral" runat="server" /></td>
                </tr>
                <tr id="content">
                    <th class="default-column"><%= GetLocalResourceObject("Content") %></th>
                    <td class="alternate-column"><asp:Literal ID="ContentLiteral" runat="server" /></td>
                </tr>
            </table>
        </div>
    </div>
</asp:Content>